/**
 * 
 */
package wsdl.service;

import java.net.URL;

/**
 * @author Maurice & Topia
 *
 */
public class WSDLPort {
	private String name;
	private String binding;
	private URL address;

	public WSDLPort(String name, String binding) {
		super();
		this.name = name;
		this.binding = binding;
	}

	public void setAddress(URL address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}
	
	public URL getAddress() {
		return address;
	}

	@Override
	public String toString() {
		return "port : " + name + "@" + address + " binding=" + binding;
	}
}
